<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class test extends MY_Controller {

    public function __construct() {
    parent:: __construct();
    $this->load->library('template'); 
    $this->load->helper("url");
    //Load model o day
    $this->load->model('sanpham');
    }
    public function index()
    {
         $abc = array("ffs","fdsfs","fdsfwe");
        $images = $this->sanpham->get_like_product(1);
        
         echo "<pre>";
            //Hien thi bo trong nay        
           print_r($images);
         echo "</pre>";
        
    }
   
}